<?php

class AjaxAction extends Action {
	//生成验证码
	public function verify() {
		
// 		$code = rand(1000,9999);
// 		session('verify',$code);
		import('ORG.Util.Image');
		Image::buildImageVerify(4,1,'png','',30);//采用纯数字
    }

    /*公用方法，门店过滤跟单经理*/
    public function getCustMgrInfo(){
    	if ($_GET['shopid']){
    		$ob = M("yq_member");
    		$list = $ob->where(array("gradeid"=>6,"shopid"=>$_GET['shopid']))->select();

    		echo json_encode($list);
    	}
    }
}














